package com.ts.animal.dao;

import com.ts.animal.domain.SickRecordDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 疾病记录表
 *
 * @author bobby
 * @email bobby@126.com
 * @date 2022-09-02 16:21:11
 */
@Mapper
public interface SickRecordDao {

    SickRecordDO get(Integer id);

    List<SickRecordDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(SickRecordDO sickRecord);

    int update(SickRecordDO sickRecord);

    int remove(Integer id);

    int batchRemove(Integer[] ids);
}
